* {
    padding:0;
    margin: 0;
    box-sizing: border-box;
}
.container{
    margin: 0 10%;
}
/* 大的垂直轮播 */
html, body {
    position: relative;
    height: 100%;
}
body {
    background: #eee;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 14px;
    color:#000;
    margin: 0;
    padding: 0;
}
.swiper-container {
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}
.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}
.sub-page{
    background: url("../img/bg.jpg");
    background-size: 100% 100%;
}

.swiper-container-vertical>.swiper-pagination-bullets{
    position: fixed;
    top:50%;
    right: 2%;
}
.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{
    display: block;
    margin: 15px 0;
}
.swiper-pagination-bullet{
    width: 15px;
    height:15px;
    background-color: #323232;
}

/* 主屏、首屏 */

.header {
    width: 100%;
    background-color: #000;
    position: relative;
    /*overflow: hidden;*/
}


.header .canvaszz{
    width: 100%;
    background-image: url(../img/in_top_bj.jpg);
    height: 630px;
    position: absolute;
    z-index: 10;
    filter: alpha(opacity=40);
    -moz-opacity: 0.4;
    -khtml-opacity: 0.4;
    opacity: 0.4;
}


.header .nav {
    width: 804px;
    height: auto;
    position: absolute;
    z-index: 30;
    top: 466px;
    left: 50%;
    margin-left: -332px;
}

.header .nav a.gv {
    text-decoration: none;
    background: url(../img/nav_gv.png) repeat;
    width: 130px;
    height: 43px;
    display: block;
    text-align: center;
    cursor: pointer;
    float: left;
    margin: 8px 2px 8px 2px;
    font: 18px/43px 'microsoft yahei';
    color: #066197;
}

.header .nav a.gv span {
    display: none;
}

.header .nav a.gv:hover {
    background: url(../img/nav_gv.png) repeat 0 -43px;
    color: #1d7eb8;
    -webkit-box-shadow: 0 0 6px #1d7eb8;
    transition-duration: 0.5s;
}

.header .topcn {
    width: 980px;
    top: 200px;
    left: 50%;
    margin-left: -490px;
    position: absolute;
    z-index: 20;

}

.head img{
    width: 150px;
    border-radius: 50%;
}
.head{
    margin-bottom:30px;
}
.homepage{
    font-size: 28px;
    color: #fff;
    margin-bottom:30px;
}
.motto{
    color: #fff;
    font-size: 16px;
}


/*******标题*********/
.about .title,
.skills .title,
.works .title,
.contact-me .title{
    margin-top:30px;
}
.about .title h2,
.skills .title h2,
.works .title h2,
.contact-me .title h2{
    width: 150px;
    margin: 0 auto;
    text-align: center;
    font-size: 22px;
    font-weight: 100;
    border-bottom: 2px #ff0000 solid;
    padding-bottom: 5px;
}
.about .title p,
.skills .title p,
.works .title p,
.contact-me .title p{
    font-size: 12px;
    text-align: center;
    color: #ff0000;
    padding-top:5px;
}


/*关于我*/
.about{
    width:100%;
}
.about-cont{
    width: 100%;
    background-color: rgb(222, 222, 233);
    display: flex;
    margin-top: 13%;
    border-radius: 15px;
}
.about-cont .about-img{
    width: 40%;
    margin-right: 2%;
}
.about-cont .about-img img{
    width: 100%;
    display: block;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}
.about-cont .about-text{
    width: 60%;
    display: flex;
    padding: 4% 1% 1% 0 ;
}
.about-text ul{
    width: 50%;
    display: block;
}
.about-text ul:nth-of-type(1){
    margin-left: 5%;
}
.about-text ul li{
    text-align: left;
    line-height: 40px;    
}





/*专业技能*/
/* 进度条 */
.skills{
    width:100%;
}
.skills-cont{
    width: 100%;
    margin: 0 auto;
    margin-top: 100px;
}
.progress{
    width: 100%;
    background-color: #ccc;
    display: flex;
    line-height: 25px;
    margin-top: 30px;
    position: relative;
    border-radius:8px 0 0 8px;
}
.progress-title{
    width: 10%;
    font-size: 16px;
    text-align: center;
    color: #fff;
    padding: 5px;
    border-radius:8px 0 0 8px;
}
.html .progress-title{
    background-color: #C96300;
}
.progress .filled{
    background-color: #FF8817;
    color: #fff;
    font-size: 15px;
    padding: 5px 5px 5px 25px;
}
.progress .percent{
    padding: 5px;
    position:absolute;
    right: 0;
    font-weight: 600;
}
.css .progress-title{
    background-color: #0F5487;
}
.css .filled{
    background-color: #177FCB;
}
.javascript .progress-title{
    background-color: #F0B109;
}
.javascript .filled{
    background-color: #F8CA4D;
}
.jquery .progress-title{
    background-color: #3D4670;
}
.jquery .filled{
    background-color: #5864A2;
}
.bootstrap .progress-title{
    background-color: #BA437D;
}
.bootstrap .filled{
    background-color: #CF7AA4;
}
.vue .progress-title{
    background-color: #B22727;
}
.vue .filled{
    background-color: #8B0101;
}
.ajax .progress-title{
    background-color: #9D501C;
}
.ajax .filled{
    background-color: #8B4614;
}
.master{
    margin-top: 20px;
    text-align: center;
}



/*作品展示*/
.works-cont{
    margin-top: 30px;
    display: flex;
}
.works-cont a{
    width: 20%;
    display: block;
    /* margin: auto; */
    color: #B22727;
}
.works-cont a p{
    width: 218px;
    text-align: center;
    font-size: 22px;
    padding-bottom:10px;
}
.works-cont a img{
    width: 85%;
    display: block;
}
.works-cont a:nth-of-type(2) img{
    width: 68%;
}
.works-cont a:nth-of-type(2) p{
    width: 174px;
}

/* 联系我 */
.contact-me{
    width:100%;
}
.contact-me-cont{
    position: relative;
    margin-top: 50px;
    text-align: center;
}
.contact-me-cont .title{
    font-size: 26px;
}
.translate{
    font-size: 26px;
    margin:10px 0;
}
.translate span:nth-of-type(1){
    color: #FF0101;
}
.translate span:nth-of-type(2){
    color: #34CCFF;
}
.translate span:nth-of-type(3){
    color: #67CC01;
}
.translate span:nth-of-type(4){
    color: #FF6734;
}
.contact-info{
    margin-top: 40px;
    font-size: 12px;
    color: #666;
    line-height: 32px;
}
.footer{
    width: 100%;
    position: absolute;
    bottom: 0;
    border-top: 1px #999 solid;
    line-height: 40px;
    font-size: 12px;
    text-align: center;
    color: #999;
}
/* 回到顶部 */
.black_box {
    position: fixed;
    top: 85%;
    right: 2%;
    font-size: 12px;
    text-align: center;
    z-index: 10000;
}

.share-box {
    display: none;
}

.ask,
.totop {
    width: 50px;
    padding: 14px 0;
    background-color: #050535;
    border-radius: 50%;
}

.totop {
    border-top: none;
    font-size: 17px;
    font-weight: 600;

}

.totop a {
    color: #fff;
    text-decoration: none;
    text-align: center;
}

.totop a img {
    display: block;
    padding: 0 16px 5px;
}